package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 物联网产品表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_iot_product")
@ApiModel(value = "XhIotProduct对象", description = "物联网产品表")
public class XhIotProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("产品类型，1.换电柜,2.电池")
    private Integer type;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty("产品key")
    private String key;

    @ApiModelProperty("自动创建设备0不允许 1允许")
    private Integer autoCreate;

    @ApiModelProperty("创建人")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
